package com.ygqh.baby.model;

import com.ygqh.baby.ao.AppType;
import com.ygqh.baby.ao.OrderType;
import com.ygqh.baby.ao.PayType;
import com.ygqh.baby.ao.SalesPlatform;

import java.math.BigDecimal;
import java.util.List;

/**
 * 〈〉
 *
 * @author guohao
 * @date 2018/12/28 16:43
 * @since 1.0.0
 */
public class GroupOrderCommitParam {
    private List<YgPtSkuInfo> skuList;
    private Long userId;
    private String userName;
    private Long userAddressId;
    private Long couponDetailId;
    private BigDecimal totalPrice;
    private AppType appType;
    private PayType payType;
    private String sourceCode;
    private BigDecimal accountPrice;
    private String formId;
    private Long groupId;
    private Long groupBuyId;
    private OrderType orderType;
    private String userRemark;
    private String platformNo;
    private String identityNo;
    private SalesPlatform salesPlatform;
    private Boolean distribution;

    public GroupOrderCommitParam() {
    }

    public GroupOrderCommitParam(List<YgPtSkuInfo> skuList, Long userId, String userName, Long userAddressId, Long couponDetailId,
                                 BigDecimal totalPrice, AppType appType, PayType payType, String sourceCode, BigDecimal accountPrice,
                                 String formId, Long groupId, Long groupBuyId, OrderType orderType, String userRemark, String platformNo,
                                 String identityNo, SalesPlatform salesPlatform, Boolean distribution) {
        this.skuList = skuList;
        this.userId = userId;
        this.userName = userName;
        this.userAddressId = userAddressId;
        this.couponDetailId = couponDetailId;
        this.totalPrice = totalPrice;
        this.appType = appType;
        this.payType = payType;
        this.sourceCode = sourceCode;
        this.accountPrice = accountPrice;
        this.formId = formId;
        this.groupId = groupId;
        this.groupBuyId = groupBuyId;
        this.orderType = orderType;
        this.userRemark = userRemark;
        this.platformNo = platformNo;
        this.identityNo = identityNo;
        this.salesPlatform = salesPlatform;
        this.distribution = distribution;
    }

    public List<YgPtSkuInfo> getSkuList() {
        return skuList;
    }

    public void setSkuList(List<YgPtSkuInfo> skuList) {
        this.skuList = skuList;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getUserAddressId() {
        return userAddressId;
    }

    public void setUserAddressId(Long userAddressId) {
        this.userAddressId = userAddressId;
    }

    public Long getCouponDetailId() {
        return couponDetailId;
    }

    public void setCouponDetailId(Long couponDetailId) {
        this.couponDetailId = couponDetailId;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public AppType getAppType() {
        return appType;
    }

    public void setAppType(AppType appType) {
        this.appType = appType;
    }

    public PayType getPayType() {
        return payType;
    }

    public void setPayType(PayType payType) {
        this.payType = payType;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public BigDecimal getAccountPrice() {
        return accountPrice;
    }

    public void setAccountPrice(BigDecimal accountPrice) {
        this.accountPrice = accountPrice;
    }

    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Long getGroupBuyId() {
        return groupBuyId;
    }

    public void setGroupBuyId(Long groupBuyId) {
        this.groupBuyId = groupBuyId;
    }

    public OrderType getOrderType() {
        return orderType;
    }

    public void setOrderType(OrderType orderType) {
        this.orderType = orderType;
    }

    public String getUserRemark() {
        return userRemark;
    }

    public void setUserRemark(String userRemark) {
        this.userRemark = userRemark;
    }

    public String getPlatformNo() {
        return platformNo;
    }

    public void setPlatformNo(String platformNo) {
        this.platformNo = platformNo;
    }

    public String getIdentityNo() {
        return identityNo;
    }

    public void setIdentityNo(String identityNo) {
        this.identityNo = identityNo;
    }

    public SalesPlatform getSalesPlatform() {
        return salesPlatform;
    }

    public void setSalesPlatform(SalesPlatform salesPlatform) {
        this.salesPlatform = salesPlatform;
    }

    public Boolean getDistribution() {
        return distribution;
    }

    public void setDistribution(Boolean distribution) {
        this.distribution = distribution;
    }
}
